package ycl.base.common.models.req.login;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 短信登录
 *
 * @author: YCL
 * @date: 2021-06-16 23:05:31
 */
@Data
@ApiModel("短信登录")
public class SmsLoginReq {

	@ApiModelProperty(value = "手机号", required = true)
	@NotBlank(message = "手机号不能为空")
	private String mobile;

	@ApiModelProperty(value = "验证码", required = true)
	@NotBlank(message = "验证码不能为空")
	private String authCode;
}
